'use strict';
module.exports = (sequelize, DataTypes) => {
  const CorporateEntityUser = sequelize.define('CorporateEntityUser', {
    note: DataTypes.STRING
  }, {});
  CorporateEntityUser.associate = function(models) {
    // associations can be defined here
    CorporateEntityUser.belongsTo(models.User);
    CorporateEntityUser.belongsTo(models.CorporateEntity);
  };
  return CorporateEntityUser;
};